package bean;

/**
 * 创建一个bean对象，测试使用java Bean构建json对象
 */
public class SampleBean {
    private String name;
    private double age;
    private String school;
    private boolean has_car;
    private  Object house;
    private  String[] major;
    private String birthday;
    public void setMajor(String[] major) {
        this.major= major;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public double getAge() {
        return age;
    }

    public void setAge(double age) {
        this.age = age;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public boolean isHas_car() {
        return has_car;
    }

    public void setHas_car(boolean has_car) {
        this.has_car = has_car;
    }

    public Object getHouse() {
        return house;
    }

    public void setHouse(Object house) {
        this.house = house;
    }

    public String[] getMajor() {
        return this.major;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
}
